home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 6 / MacMania 6.toast / / Internet software / PageSpinner 2.01 / Documentation / Database_Publishing / Getting started… < prev    next >
Text File  |  1997-06-11  |  5KB  |  75 lines

  1. About Database Publishing with PageSpinner
  2.  
  3. This folder contains a kit with AppleScripts, templates and sample databases that shows how you can use PageSpinner to publish web pages with data from FileMaker Pro, HyperCard and 4D Server. If you are familiar with AppleScript it should be easy to customize the scripts and templates to your needs. If you haven't used AppleScript or the Script Editor included with System 7.5 before, it should still be relatively easy to modify the included AppleScripts to work with your databases.
  4.  
  5. You can learn more about how modify the AppleScripts and to publish data from databases in the file "database_publishing.html", located inside the AppleScript Documentation folder.
  6.  
  7. Please make a backup copy of this folder before you start modifying it. 
  8. It is always great to have a backup copy around if something goes wrong...
  9.  
  10. If you are using  WorldScript with double-byte character input you should edit the template files and use the menu File : Set Filing Options... to set the file to be saved in the format Mac TEXT.
  11.  
  12. The following databases and example scripts are included:
  13.  
  14. FileMaker Pro
  15. - "Products FileMaker Pro" is a small FileMaker Pro database
  16. To use this database you will need FileMaker Pro 3.0 or later
  17.  
  18. The example scripts "Database Table Demo Script" and "Database Multi-Page Demo Script" are by default set to use FileMaker Pro. They can be changed to use HyperCard or 4D by adding and removing a few comments a few comments in the script.
  19.  
  20. To publish web pages from the example FileMaker Pro database:
  21.  
  22. Table Example:
  23. - launch PageSpinner
  24. - open the database named "Products FileMaker Pro" with FileMaker Pro.
  25. - open the AppleScript "Database Table Demo Script" with Script Editor and run the script.
  26. - the script will ask you were the files "Table_Stationery.html" and "Table_Record_Stationery.html" are located, they can be found in the same folder as this document: "Database_Publishing" in PageSpinner's Documentation folder.
  27.  
  28. Multi PageExample:
  29. - launch PageSpinner
  30. - open the database named "Products FileMaker Pro" with FileMaker Pro
  31. - open the AppleScript "Database Multi-Page Demo Script" with Script Editor and run the script.
  32. - the script will ask you were the files "Multi_Page_Record.html" and "Multi_Page_Record.html" are located, they can be found in the same folder as this document: "Database_Publishing" in PageSpinner's Documentation folder.
  33. - the script will ask you were to save the pages generated when publishing the database, select the folder named "Multi_Page_Sample".
  34.  
  35. When modifying the script to handle your own databases you can enter the path to the folder that contains your own stationery files, so you do not have to select the files and folders every time you run the script. Additional information can be found in the file "database_publishing.html".
  36.  
  37.  
  38.  
  39. HyperCard
  40. - "Products HyperCard" is a small stack with the sample database
  41. To use this database you will need HyperCard Player 2.3.5 or later
  42. To edit this database you will need HyperCard 2.3.5 or later
  43.  
  44. The example scripts "Database List Demo Script" is by default set to use HyperCard.
  45.  
  46. List Page Example:
  47. To publish web pages from the example HyperCard stack:
  48. - launch PageSpinner.
  49. - open the stack "Products HyperCard" with HyperCard or HyperCard Player.
  50. - open the AppleScript "Database List Demo Script" with Script Editor and run the script
  51. - the script will ask you were the files "List_Stationery.html" and "Record_Stationery.html" are located, they can be found in the same folder as this document: "Database_Publishing" in PageSpinner's Documentation folder.
  52.  
  53. You can also edit the example scripts "Database Table Demo Script" and "Database Multi-Page Demo Script" with Script Editor to work with HyperCard by adding and removing a few comments in the script. Additional information can be found in the file "database_publishing.html".
  54.  
  55. When modifying the script to handle your own databases you can enter the path to the folder that contains the stationery files, so you do not have to select the files and folders every time you run the script.
  56.  
  57.  
  58.  
  59. 4D (Fourth Dimension)
  60. - "Products 4D" + "Products 4D.data" is a small 4D database
  61. To use this database you will need 4D Server and the application 4D AppleScript that handles AppleEvents sent to and from 4D Server.
  62.  
  63. The example scripts "Database List Demo Script", "Database Table Demo Script" and "Database Multi-Page Demo Script" are by default set to use FileMaker Pro or HyperCard. They can be changed to use 4D Server by adding and removing a few comments in the script. Open the Script with Script Editor to find out where to make the changes.  Additional information can be found in the file "database_publishing.html".
  64.  
  65.  
  66.  
  67. What about Claris Works?
  68. ClarisWorks 4.0 doesn't support AppleScript access to its database, so it is not possible to publish data from this application using AppleScript.
  69.  
  70.  
  71. COPYRIGHT NOTICE
  72. The AppleScripts, templates other material included in the PageSpinner distribution are © Copyright 1995-1997 Optima System. These can be used and edited to create web contents. You can not distribute parts of the PageSpinner distribution, software or scripts derived from the PageSpinner distribution without the written permission from the author.
  73.  
  74. All products mentioned are trademarks or registered trademarks of their respective holders.
  75.